<?php
class Promobanner
{
	public function construct()
	{
		
	}
	
	public function index()
	{
		CommonFunc::loadFile(SMARTYLIBS . "Smarty.class.php");
		CommonFunc::loadFile('model/Promobanner.php');
                $Promobannerfolder=SITEURL."admin/templates/promobanner";
		$smarty = new Smarty();
		$modPromobanner = new ModelPromobanner();
		$promobanner_arr = $modPromobanner->getPromobannerImages();
		$smarty->assign("title", "Promo Banner Management");
                $smarty->assign("promobannerfolder", $promobannerfolder);
		$smarty->assign("promobanner_arr", $promobanner_arr);
				
		$smarty->display('promobanner/index.tpl');
	}
}	
?>